/**
 * @projectName: dataAccessFactory
 * @author: 小飞
 * @description: TODO
 * @date: 2024/2/27 22:27
 * @version: 1.0
 */
package com.home.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class LoginDTO implements Serializable {
    //用户名
    @NotBlank(message = "用户名不能为空!")
    private String username;
    //密码
    @NotBlank(message = "密码不能为空!")
    private String password;
}
